<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Qwt User&#39;s Guide: QwtSplinePolynomial Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Qwt User&#39;s Guide
   &#160;<span id="projectnumber">6.2.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('class_qwt_spline_polynomial.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="class_qwt_spline_polynomial-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">QwtSplinePolynomial Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>A cubic polynomial without constant term.  
 <a href="class_qwt_spline_polynomial.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="qwt__spline__polynomial_8h_source.html">qwt_spline_polynomial.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a22d45d509397f700f945c5ba0caa87dd"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_spline_polynomial.html#a22d45d509397f700f945c5ba0caa87dd">QwtSplinePolynomial</a> (double <a class="el" href="class_qwt_spline_polynomial.html#ac2a022dc826f5e08979e43ec2ddcfa42">c3</a>=0.0, double <a class="el" href="class_qwt_spline_polynomial.html#ac99f8adbf13b198c48ed8805d4078bd5">c2</a>=0.0, double <a class="el" href="class_qwt_spline_polynomial.html#ab7a4dd72809be3e6648bafcf6871dd32">c1</a>=0.0)</td></tr>
<tr class="memdesc:a22d45d509397f700f945c5ba0caa87dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor.  <a href="class_qwt_spline_polynomial.html#a22d45d509397f700f945c5ba0caa87dd">More...</a><br /></td></tr>
<tr class="separator:a22d45d509397f700f945c5ba0caa87dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c66b68af39e51183f82c1940eb14517"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_spline_polynomial.html#a4c66b68af39e51183f82c1940eb14517">operator==</a> (const <a class="el" href="class_qwt_spline_polynomial.html">QwtSplinePolynomial</a> &amp;) const</td></tr>
<tr class="separator:a4c66b68af39e51183f82c1940eb14517"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89a4b31dcfc005140e439312ff47be29"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_spline_polynomial.html#a89a4b31dcfc005140e439312ff47be29">operator!=</a> (const <a class="el" href="class_qwt_spline_polynomial.html">QwtSplinePolynomial</a> &amp;) const</td></tr>
<tr class="separator:a89a4b31dcfc005140e439312ff47be29"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31aa00624298eb0f7f0796d6d58ab38e"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_spline_polynomial.html#a31aa00624298eb0f7f0796d6d58ab38e">valueAt</a> (double x) const</td></tr>
<tr class="separator:a31aa00624298eb0f7f0796d6d58ab38e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a136975ae7191fd91b5b9ef5297b36299"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_spline_polynomial.html#a136975ae7191fd91b5b9ef5297b36299">slopeAt</a> (double x) const</td></tr>
<tr class="separator:a136975ae7191fd91b5b9ef5297b36299"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf18254f01c445b3af637351a1da1323"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_spline_polynomial.html#acf18254f01c445b3af637351a1da1323">curvatureAt</a> (double x) const</td></tr>
<tr class="separator:acf18254f01c445b3af637351a1da1323"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a2f7c84dbfe6354d771d15fa95934ea07"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_qwt_spline_polynomial.html">QwtSplinePolynomial</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_spline_polynomial.html#a2f7c84dbfe6354d771d15fa95934ea07">fromSlopes</a> (const QPointF &amp;p1, double m1, const QPointF &amp;p2, double m2)</td></tr>
<tr class="separator:a2f7c84dbfe6354d771d15fa95934ea07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3af2134cbccfffc293669bc6e9417897"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_qwt_spline_polynomial.html">QwtSplinePolynomial</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_spline_polynomial.html#a3af2134cbccfffc293669bc6e9417897">fromSlopes</a> (double x, double y, double m1, double m2)</td></tr>
<tr class="separator:a3af2134cbccfffc293669bc6e9417897"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88432efffb0b03c266f8673e0d58c36e"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_qwt_spline_polynomial.html">QwtSplinePolynomial</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_spline_polynomial.html#a88432efffb0b03c266f8673e0d58c36e">fromCurvatures</a> (const QPointF &amp;p1, double cv1, const QPointF &amp;p2, double cv2)</td></tr>
<tr class="separator:a88432efffb0b03c266f8673e0d58c36e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92fa155fb36dd364ecd58ff5345f3146"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="class_qwt_spline_polynomial.html">QwtSplinePolynomial</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_spline_polynomial.html#a92fa155fb36dd364ecd58ff5345f3146">fromCurvatures</a> (double dx, double dy, double cv1, double cv2)</td></tr>
<tr class="separator:a92fa155fb36dd364ecd58ff5345f3146"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:ac2a022dc826f5e08979e43ec2ddcfa42"><td class="memItemLeft" align="right" valign="top"><a id="ac2a022dc826f5e08979e43ec2ddcfa42"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_spline_polynomial.html#ac2a022dc826f5e08979e43ec2ddcfa42">c3</a></td></tr>
<tr class="memdesc:ac2a022dc826f5e08979e43ec2ddcfa42"><td class="mdescLeft">&#160;</td><td class="mdescRight">coefficient of the cubic summand <br /></td></tr>
<tr class="separator:ac2a022dc826f5e08979e43ec2ddcfa42"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac99f8adbf13b198c48ed8805d4078bd5"><td class="memItemLeft" align="right" valign="top"><a id="ac99f8adbf13b198c48ed8805d4078bd5"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_spline_polynomial.html#ac99f8adbf13b198c48ed8805d4078bd5">c2</a></td></tr>
<tr class="memdesc:ac99f8adbf13b198c48ed8805d4078bd5"><td class="mdescLeft">&#160;</td><td class="mdescRight">coefficient of the quadratic summand <br /></td></tr>
<tr class="separator:ac99f8adbf13b198c48ed8805d4078bd5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7a4dd72809be3e6648bafcf6871dd32"><td class="memItemLeft" align="right" valign="top"><a id="ab7a4dd72809be3e6648bafcf6871dd32"></a>
double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_qwt_spline_polynomial.html#ab7a4dd72809be3e6648bafcf6871dd32">c1</a></td></tr>
<tr class="memdesc:ab7a4dd72809be3e6648bafcf6871dd32"><td class="mdescLeft">&#160;</td><td class="mdescRight">coefficient of the linear summand <br /></td></tr>
<tr class="separator:ab7a4dd72809be3e6648bafcf6871dd32"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A cubic polynomial without constant term. </p>
<p><a class="el" href="class_qwt_spline_polynomial.html" title="A cubic polynomial without constant term.">QwtSplinePolynomial</a> is a 3rd degree polynomial of the form: y = c3 * x³ + c2 * x² + c1 * x;</p>
<p><a class="el" href="class_qwt_spline_polynomial.html" title="A cubic polynomial without constant term.">QwtSplinePolynomial</a> is usually used in combination with polygon interpolation, where it is not necessary to store a constant term ( c0 ), as the translation is known from the corresponding polygon points.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="class_qwt_spline_c1.html" title="Base class for spline interpolations providing a first order parametric continuity ( C1 ) between adj...">QwtSplineC1</a> </dd></dl>

<p class="definition">Definition at line <a class="el" href="qwt__spline__polynomial_8h_source.html#l00030">30</a> of file <a class="el" href="qwt__spline__polynomial_8h_source.html">qwt_spline_polynomial.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a22d45d509397f700f945c5ba0caa87dd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a22d45d509397f700f945c5ba0caa87dd">&#9670;&nbsp;</a></span>QwtSplinePolynomial()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QwtSplinePolynomial::QwtSplinePolynomial </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>a3</em> = <code>0.0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>a2</em> = <code>0.0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>a1</em> = <code>0.0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">a3</td><td>Coefficient of the cubic summand </td></tr>
    <tr><td class="paramname">a2</td><td>Coefficient of the quadratic summand </td></tr>
    <tr><td class="paramname">a1</td><td>Coefficient of the linear summand </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="qwt__spline__polynomial_8h_source.html#l00077">77</a> of file <a class="el" href="qwt__spline__polynomial_8h_source.html">qwt_spline_polynomial.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="acf18254f01c445b3af637351a1da1323"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acf18254f01c445b3af637351a1da1323">&#9670;&nbsp;</a></span>curvatureAt()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double QwtSplinePolynomial::curvatureAt </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Calculate the value of the second derivate of a polynomial for a given x</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>Parameter </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Curvature at x </dd></dl>

<p class="definition">Definition at line <a class="el" href="qwt__spline__polynomial_8h_source.html#l00130">130</a> of file <a class="el" href="qwt__spline__polynomial_8h_source.html">qwt_spline_polynomial.h</a>.</p>

</div>
</div>
<a id="a88432efffb0b03c266f8673e0d58c36e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a88432efffb0b03c266f8673e0d58c36e">&#9670;&nbsp;</a></span>fromCurvatures() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_qwt_spline_polynomial.html">QwtSplinePolynomial</a> QwtSplinePolynomial::fromCurvatures </td>
          <td>(</td>
          <td class="paramtype">const QPointF &amp;&#160;</td>
          <td class="paramname"><em>p1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>cv1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QPointF &amp;&#160;</td>
          <td class="paramname"><em>p2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>cv2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Find the coefficients for the polynomial including 2 points with specific values for the 2nd derivates at these points.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">p1</td><td>First point </td></tr>
    <tr><td class="paramname">cv1</td><td>Value of the second derivate at p1 </td></tr>
    <tr><td class="paramname">p2</td><td>Second point </td></tr>
    <tr><td class="paramname">cv2</td><td>Value of the second derivate at p2</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Coefficients of the polynomials </dd></dl>
<dl class="section note"><dt>Note</dt><dd>The missing constant term of the polynomial is p1.y() </dd></dl>

<p class="definition">Definition at line <a class="el" href="qwt__spline__polynomial_8h_source.html#l00185">185</a> of file <a class="el" href="qwt__spline__polynomial_8h_source.html">qwt_spline_polynomial.h</a>.</p>

</div>
</div>
<a id="a92fa155fb36dd364ecd58ff5345f3146"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a92fa155fb36dd364ecd58ff5345f3146">&#9670;&nbsp;</a></span>fromCurvatures() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_qwt_spline_polynomial.html">QwtSplinePolynomial</a> QwtSplinePolynomial::fromCurvatures </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>dx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>dy</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>cv1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>cv2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Find the coefficients for the polynomial from the offset between 2 points and specific values for the 2nd derivates at these points.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dx</td><td>X-offset </td></tr>
    <tr><td class="paramname">dy</td><td>Y-offset </td></tr>
    <tr><td class="paramname">cv1</td><td>Value of the second derivate at p1 </td></tr>
    <tr><td class="paramname">cv2</td><td>Value of the second derivate at p2</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Coefficients of the polynomials </dd></dl>

<p class="definition">Definition at line <a class="el" href="qwt__spline__polynomial_8h_source.html#l00202">202</a> of file <a class="el" href="qwt__spline__polynomial_8h_source.html">qwt_spline_polynomial.h</a>.</p>

</div>
</div>
<a id="a2f7c84dbfe6354d771d15fa95934ea07"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2f7c84dbfe6354d771d15fa95934ea07">&#9670;&nbsp;</a></span>fromSlopes() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_qwt_spline_polynomial.html">QwtSplinePolynomial</a> QwtSplinePolynomial::fromSlopes </td>
          <td>(</td>
          <td class="paramtype">const QPointF &amp;&#160;</td>
          <td class="paramname"><em>p1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>m1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QPointF &amp;&#160;</td>
          <td class="paramname"><em>p2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>m2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Find the coefficients for the polynomial including 2 points with specific values for the 1st derivates at these points.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">p1</td><td>First point </td></tr>
    <tr><td class="paramname">m1</td><td>Value of the first derivate at p1 </td></tr>
    <tr><td class="paramname">p2</td><td>Second point </td></tr>
    <tr><td class="paramname">m2</td><td>Value of the first derivate at p2</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Coefficients of the polynomials </dd></dl>
<dl class="section note"><dt>Note</dt><dd>The missing constant term of the polynomial is p1.y() </dd></dl>

<p class="definition">Definition at line <a class="el" href="qwt__spline__polynomial_8h_source.html#l00147">147</a> of file <a class="el" href="qwt__spline__polynomial_8h_source.html">qwt_spline_polynomial.h</a>.</p>

</div>
</div>
<a id="a3af2134cbccfffc293669bc6e9417897"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3af2134cbccfffc293669bc6e9417897">&#9670;&nbsp;</a></span>fromSlopes() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_qwt_spline_polynomial.html">QwtSplinePolynomial</a> QwtSplinePolynomial::fromSlopes </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>dx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>dy</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>m1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>m2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Find the coefficients for the polynomial from the offset between 2 points and specific values for the 1st derivates at these points.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dx</td><td>X-offset </td></tr>
    <tr><td class="paramname">dy</td><td>Y-offset </td></tr>
    <tr><td class="paramname">m1</td><td>Value of the first derivate at p1 </td></tr>
    <tr><td class="paramname">m2</td><td>Value of the first derivate at p2</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Coefficients of the polynomials </dd></dl>

<p class="definition">Definition at line <a class="el" href="qwt__spline__polynomial_8h_source.html#l00164">164</a> of file <a class="el" href="qwt__spline__polynomial_8h_source.html">qwt_spline_polynomial.h</a>.</p>

</div>
</div>
<a id="a89a4b31dcfc005140e439312ff47be29"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a89a4b31dcfc005140e439312ff47be29">&#9670;&nbsp;</a></span>operator!=()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool QwtSplinePolynomial::operator!= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_qwt_spline_polynomial.html">QwtSplinePolynomial</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">other</td><td>Other polynomial </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true, when the polynomials have different coefficients </dd></dl>

<p class="definition">Definition at line <a class="el" href="qwt__spline__polynomial_8h_source.html#l00097">97</a> of file <a class="el" href="qwt__spline__polynomial_8h_source.html">qwt_spline_polynomial.h</a>.</p>

</div>
</div>
<a id="a4c66b68af39e51183f82c1940eb14517"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4c66b68af39e51183f82c1940eb14517">&#9670;&nbsp;</a></span>operator==()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool QwtSplinePolynomial::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_qwt_spline_polynomial.html">QwtSplinePolynomial</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">other</td><td>Other polynomial </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true, when both polynomials have the same coefficients </dd></dl>

<p class="definition">Definition at line <a class="el" href="qwt__spline__polynomial_8h_source.html#l00088">88</a> of file <a class="el" href="qwt__spline__polynomial_8h_source.html">qwt_spline_polynomial.h</a>.</p>

</div>
</div>
<a id="a136975ae7191fd91b5b9ef5297b36299"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a136975ae7191fd91b5b9ef5297b36299">&#9670;&nbsp;</a></span>slopeAt()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double QwtSplinePolynomial::slopeAt </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Calculate the value of the first derivate of a polynomial for a given x</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>Parameter </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Slope at x </dd></dl>

<p class="definition">Definition at line <a class="el" href="qwt__spline__polynomial_8h_source.html#l00119">119</a> of file <a class="el" href="qwt__spline__polynomial_8h_source.html">qwt_spline_polynomial.h</a>.</p>

</div>
</div>
<a id="a31aa00624298eb0f7f0796d6d58ab38e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a31aa00624298eb0f7f0796d6d58ab38e">&#9670;&nbsp;</a></span>valueAt()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double QwtSplinePolynomial::valueAt </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Calculate the value of a polynomial for a given x</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>Parameter </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Value at x </dd></dl>

<p class="definition">Definition at line <a class="el" href="qwt__spline__polynomial_8h_source.html#l00108">108</a> of file <a class="el" href="qwt__spline__polynomial_8h_source.html">qwt_spline_polynomial.h</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_qwt_spline_polynomial.html">QwtSplinePolynomial</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
